﻿namespace DFGK_WMS.Model.Wcs
{
    /// <summary>
    /// 速锐WCS接口返回类型
    /// </summary>
    public class NewWcsApiRes
    {
        /// <summary>
        /// 0:成功 1:失败 
        /// </summary>
        public int returnStatus { get; set; }

        /// <summary>
        /// returnStatus!=0时填入失败原因
        /// </summary>
        public string returnInfo { get; set; }

        /// <summary>
        /// 返回时间
        /// </summary>
        public string msgTime { get; set; }
        /// <summary>
        /// 返回数据
        /// </summary>
        public WCSData? data { get; set; }
    }

    public class WCSData
    {
        /// <summary>
        /// 货位编号
        /// </summary>
        public string cargoLocationId { get; set; }

        /// <summary>
        /// 货位状态 Y. 有 货  N.无 货
        /// </summary>
        public string cargoLocationStatus { get; set; }

        /// <summary>
        /// 当前位置托盘码
        /// </summary>
        public string? palletCode { get; set; }
    }
}
